<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../print.css" type="text/css" media="print">
<meta content="ServiceBase,com.netflix.webapis.ServiceBase,NETFLIX_BASE_URL,SIG_METHOD,autoIncrement,firstResultPosition,hasResultsPending,increment,lastResult,lastResultPosition,numResultsReturned,numberOfResults,request,resultsPerPage,startIndex,accessToken,applicationName,authorizationURL,consumer,key,loginURL,maximumResults,secret,token,tokenSecret,userId,determineParams,dispatchFault,dispatchResult,formatAndDispatch,handleServiceLoading,send" name="keywords">
<title>com.netflix.webapis.ServiceBase</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'ServiceBase - Netflix Flex API Library';
				var baseRef = '../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">Netflix Flex API Library</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../index-list.html')" href="../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../index.html?com/netflix/webapis/ServiceBase.html&amp;com/netflix/webapis/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;ServiceBase</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a>&nbsp;| <a href="#eventSummary">Events</a>&nbsp;| <a href="#constantSummary">Constants</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class ServiceBase"); titleBar_setSubNav(true,true,false,false,true,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">com.netflix.webapis</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class ServiceBase</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">ServiceBase <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../images/inherit-arrow.gif"> flash.events.EventDispatcher</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Subclasses</td><td><a href="authenticate/AccessTokenService.html">AccessTokenService</a>, <a href="authenticate/AuthenticationService.html">AuthenticationService</a>, <a href="catalog/CategoriesService.html">CategoriesService</a>, <a href="catalog/PeopleService.html">PeopleService</a>, <a href="catalog/TitlesService.html">TitlesService</a>, <a href="users/UserService.html">UserService</a></td>
</tr>
</table>
<p></p>
  Base to all service classes.
  <p></p>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Properties</div>
<table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#accessToken">accessToken</a> : OAuthToken<div class="summaryTableDescription">[read-only]
   OAuth Token created when the token and tokenSecret are returned.</div>
</td><td class="summaryTableOwnerCol">ServiceBase</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#applicationName">applicationName</a> : String<div class="summaryTableDescription">
   Application Name returned from the <code>AuthenticationService.requestToken()</code> call.</div>
</td><td class="summaryTableOwnerCol">ServiceBase</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#authorizationURL">authorizationURL</a> : String<div class="summaryTableDescription">
   Authentication URL returned from the <code>AuthenticationService.requestToken()</code> call.</div>
</td><td class="summaryTableOwnerCol">ServiceBase</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#autoIncrement">autoIncrement</a> : Boolean<div class="summaryTableDescription">
   Whether to retrieve more results on the same search.</div>
</td><td class="summaryTableOwnerCol">ServiceBase</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#consumer">consumer</a> : OAuthConsumer<div class="summaryTableDescription">[read-only]
   OAuth Consumer created when the developer key and secret are entered into the authorization service.</div>
</td><td class="summaryTableOwnerCol">ServiceBase</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#firstResultPosition">firstResultPosition</a> : uint<div class="summaryTableDescription">
   The position of the first result.</div>
</td><td class="summaryTableOwnerCol">ServiceBase</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#hasResultsPending">hasResultsPending</a> : Boolean = true<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">ServiceBase</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#increment">increment</a> : uint = 0<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">ServiceBase</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#key">key</a> : String<div class="summaryTableDescription">
   Consumer Key.</div>
</td><td class="summaryTableOwnerCol">ServiceBase</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#lastResult">lastResult</a> : Object<div class="summaryTableDescription">
  The result of the last service invocation.</div>
</td><td class="summaryTableOwnerCol">ServiceBase</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#lastResultPosition">lastResultPosition</a> : uint<div class="summaryTableDescription">
   The position of the last result.</div>
</td><td class="summaryTableOwnerCol">ServiceBase</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#loginURL">loginURL</a> : String<div class="summaryTableDescription">
   Login URL returned from the <code>AuthenticationService.requestToken()</code> call.</div>
</td><td class="summaryTableOwnerCol">ServiceBase</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#maximumResults">maximumResults</a> : uint<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">ServiceBase</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#numberOfResults">numberOfResults</a> : uint<div class="summaryTableDescription">
   The total amount of results available 
   </div>
</td><td class="summaryTableOwnerCol">ServiceBase</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#numResultsReturned">numResultsReturned</a> : uint<div class="summaryTableDescription">
   The amount of results of this page.</div>
</td><td class="summaryTableOwnerCol">ServiceBase</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#request">request</a> : <a href="../webapis/ParamsBase.html">ParamsBase</a>
<div class="summaryTableDescription">
   Current Request.</div>
</td><td class="summaryTableOwnerCol">ServiceBase</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#resultsPerPage">resultsPerPage</a> : uint<div class="summaryTableDescription">
   The total amount of results returned.</div>
</td><td class="summaryTableOwnerCol">ServiceBase</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#secret">secret</a> : String<div class="summaryTableDescription">
   Consumer Secret.</div>
</td><td class="summaryTableOwnerCol">ServiceBase</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#startIndex">startIndex</a> : uint = 0<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">ServiceBase</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#token">token</a> : String<div class="summaryTableDescription">
   Token returned from the <code>AccessTokenService.getAccessToken()</code> 
   and/or <code>AuthenticationService.requestToken()</code>.</div>
</td><td class="summaryTableOwnerCol">ServiceBase</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#tokenSecret">tokenSecret</a> : String<div class="summaryTableDescription">
   Token Secret returned from the <code>AccessTokenService.getAccessToken()</code> 
   and/or <code>AuthenticationService.requestToken()</code>.</div>
</td><td class="summaryTableOwnerCol">ServiceBase</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#userId">userId</a> : String<div class="summaryTableDescription">
   User id returned from the AccessToken Service.</div>
</td><td class="summaryTableOwnerCol">ServiceBase</td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#ServiceBase()">ServiceBase</a>(target:IEventDispatcher = null)</div>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">ServiceBase</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#send()">send</a>(parameters:<a href="ParamsBase.html">ParamsBase</a> = null):void</div>
<div class="summaryTableDescription">
   Sends off for service.</div>
</td><td class="summaryTableOwnerCol">ServiceBase</td>
</tr>
</table>
</div>
<a name="protectedMethodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Protected Methods</div>
<table id="summaryTableProtectedMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#determineParams()">determineParams</a>(params:<a href="ParamsBase.html">ParamsBase</a> = null, type:String = null):<a href="../webapis/ParamsBase.html">ParamsBase</a>
</div>
<div class="summaryTableDescription">
   Handles requests and previous requests to determine current request.</div>
</td><td class="summaryTableOwnerCol">ServiceBase</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#dispatchFault()">dispatchFault</a>(fault:<a href="ServiceFault.html">ServiceFault</a>):void</div>
<div class="summaryTableDescription">
   Dispatches Fault.</div>
</td><td class="summaryTableOwnerCol">ServiceBase</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#dispatchResult()">dispatchResult</a>(result:Object, dispatchType:String):void</div>
<div class="summaryTableDescription">
   Dispatches the result.</div>
</td><td class="summaryTableOwnerCol">ServiceBase</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#formatAndDispatch()">formatAndDispatch</a>(returnedXML:XML, dispatchType:String):void</div>
<div class="summaryTableDescription">
   Formats the xml into typed objects and dispatches the final object in a result event.</div>
</td><td class="summaryTableOwnerCol">ServiceBase</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#handleServiceLoading()">handleServiceLoading</a>(methodString:String, dispatchType:String, params:<a href="ParamsBase.html">ParamsBase</a> = null):void</div>
<div class="summaryTableDescription">
   Handlers the service loading and calls for the service.</div>
</td><td class="summaryTableOwnerCol">ServiceBase</td>
</tr>
</table>
</div>
<a name="eventSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Events</div>
<table id="summaryTableEvent" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Event</th><th>Summary</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:fault">fault</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">
 Fault Event.</td><td class="summaryTableOwnerCol">ServiceBase</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:result">result</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">
 Result Event.</td><td class="summaryTableOwnerCol">ServiceBase</td>
</tr>
</table>
</div>
<a name="constantSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Constants</div>
<table id="summaryTableConstant" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Constant</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#NETFLIX_BASE_URL">NETFLIX_BASE_URL</a> : String = "http://api.netflix.com/"<div class="summaryTableDescription">[static]</div>
</td><td class="summaryTableOwnerCol">ServiceBase</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#SIG_METHOD">SIG_METHOD</a> : IOAuthSignatureMethod<div class="summaryTableDescription">[static]</div>
</td><td class="summaryTableOwnerCol">ServiceBase</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="propertyDetail"></a>
<div class="detailSectionHeader">Property detail</div>
<a name="accessToken"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">accessToken</td><td class="detailHeaderType">property</td>
</tr>
</table>
<div class="detailBody">
<code>accessToken:OAuthToken</code>&nbsp;&nbsp;[read-only]<p>
   OAuth Token created when the token and tokenSecret are returned.
   
   </p><p>Part of application wide storage.</p>
   <p>This property can be used as the source for data binding.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get accessToken():OAuthToken</code>
<br>
</div>
<a name="applicationName"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">applicationName</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>applicationName:String</code>&nbsp;&nbsp;[read-write]<p>
   Application Name returned from the <code>AuthenticationService.requestToken()</code> call.
   
   </p><p>Part of application wide storage.</p>
   
   <p>This property can be used as the source for data binding.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get applicationName():String</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set applicationName(value:String):void</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="authenticate/AuthenticationService.html#requestToken()" target="">com.netflix.webapis.authenticate.AuthenticationService.requestToken()</a>
</div>
</div>
<a name="authorizationURL"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">authorizationURL</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>authorizationURL:String</code>&nbsp;&nbsp;[read-write]<p>
   Authentication URL returned from the <code>AuthenticationService.requestToken()</code> call. 
   This is what is used to authorize your application to a user for user information access.
   
   </p><p>To have the user authorize your app to access their account you need to invoke the 
   <code>AuthenticationService.getAuthorization()</code> function. This will open up a new 
   window where they will authorize your app. This one needs to be done once or until the
   user removes your app from the authorized list.<br />
   <br />
   Part of application wide storage.
   </p>
   
   <p>This property can be used as the source for data binding.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get authorizationURL():String</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set authorizationURL(value:String):void</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="authenticate/AuthenticationService.html#requestToken()" target="">com.netflix.webapis.authenticate.AuthenticationService.requestToken()</a>
<br>
<a href="authenticate/AuthenticationService.html#getAuthorization()" target="">com.netflix.webapis.authenticate.AuthenticationService.getAuthorization()</a>
</div>
</div>
<a name="autoIncrement"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">autoIncrement</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var autoIncrement:Boolean</code><p>
   Whether to retrieve more results on the same search.
   </p><p>This property can be used as the source for data binding.</p>
</div>
<a name="consumer"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">consumer</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>consumer:OAuthConsumer</code>&nbsp;&nbsp;[read-only]<p>
   OAuth Consumer created when the developer key and secret are entered into the authorization service.
   
   </p><p>Part of application wide storage.</p>
   <p>This property can be used as the source for data binding.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get consumer():OAuthConsumer</code>
<br>
</div>
<a name="firstResultPosition"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">firstResultPosition</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var firstResultPosition:uint</code><p>
   The position of the first result.
   </p><p>This property can be used as the source for data binding.</p>
</div>
<a name="hasResultsPending"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">hasResultsPending</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var hasResultsPending:Boolean = true</code>
<p>This property can be used as the source for data binding.</p>
</div>
<a name="increment"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">increment</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var increment:uint = 0</code>
<p>This property can be used as the source for data binding.</p>
</div>
<a name="key"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">key</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>key:String</code>&nbsp;&nbsp;[read-write]<p>
   Consumer Key. Get this variable from Netflix when you sign up for a developer account.
   
   </p><p>Part of application wide storage.</p>
   <p>This property can be used as the source for data binding.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get key():String</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set key(value:String):void</code>
<br>
</div>
<a name="lastResult"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">lastResult</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var lastResult:Object</code><p>
  The result of the last service invocation.
  </p><p>This property can be used as the source for data binding.</p>
</div>
<a name="lastResultPosition"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">lastResultPosition</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var lastResultPosition:uint</code><p>
   The position of the last result.
   </p><p>This property can be used as the source for data binding.</p>
</div>
<a name="loginURL"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">loginURL</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>loginURL:String</code>&nbsp;&nbsp;[read-write]<p>
   Login URL returned from the <code>AuthenticationService.requestToken()</code> call.
   
   </p><p>Part of application wide storage.</p>
   
   <p>This property can be used as the source for data binding.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get loginURL():String</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set loginURL(value:String):void</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="authenticate/AuthenticationService.html#requestToken()" target="">com.netflix.webapis.authenticate.AuthenticationService.requestToken()</a>
</div>
</div>
<a name="maximumResults"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">maximumResults</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>maximumResults:uint</code>&nbsp;&nbsp;[read-write]<p>This property can be used as the source for data binding.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get maximumResults():uint</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set maximumResults(value:uint):void</code>
<br>
</div>
<a name="numberOfResults"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">numberOfResults</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var numberOfResults:uint</code><p>
   The total amount of results available 
   </p><p>This property can be used as the source for data binding.</p>
</div>
<a name="numResultsReturned"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">numResultsReturned</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var numResultsReturned:uint</code><p>
   The amount of results of this page.
   </p><p>This property can be used as the source for data binding.</p>
</div>
<a name="request"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">request</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var request:<a href="../webapis/ParamsBase.html">ParamsBase</a></code><p>
   Current Request. 
   </p></div>
<a name="resultsPerPage"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">resultsPerPage</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var resultsPerPage:uint</code><p>
   The total amount of results returned.
   </p><p>This property can be used as the source for data binding.</p>
</div>
<a name="secret"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">secret</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>secret:String</code>&nbsp;&nbsp;[read-write]<p>
   Consumer Secret. Get this variable from Netflix when you sign up for a developer account.
   
   </p><p>Part of application wide storage.</p>
   <p>This property can be used as the source for data binding.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get secret():String</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set secret(value:String):void</code>
<br>
</div>
<a name="startIndex"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">startIndex</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var startIndex:uint = 0</code>
<p>This property can be used as the source for data binding.</p>
</div>
<a name="token"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">token</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>token:String</code>&nbsp;&nbsp;[read-write]<p>
   Token returned from the <code>AccessTokenService.getAccessToken()</code> 
   and/or <code>AuthenticationService.requestToken()</code>.
   
   </p><p>Part of application wide storage.</p>
   
   <p>This property can be used as the source for data binding.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get token():String</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set token(value:String):void</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="authenticate/AuthenticationService.html#requestToken()" target="">com.netflix.webapis.authenticate.AuthenticationService.requestToken()</a>
<br>
<a href="authenticate/AccessTokenService.html#getAccessToken()" target="">com.netflix.webapis.authenticate.AccessTokenService.getAccessToken()</a>
</div>
</div>
<a name="tokenSecret"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">tokenSecret</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>tokenSecret:String</code>&nbsp;&nbsp;[read-write]<p>
   Token Secret returned from the <code>AccessTokenService.getAccessToken()</code> 
   and/or <code>AuthenticationService.requestToken()</code>. 
   
   </p><p>Part of application wide storage.</p>
   
   <p>This property can be used as the source for data binding.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get tokenSecret():String</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set tokenSecret(value:String):void</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="authenticate/AuthenticationService.html#requestToken()" target="">com.netflix.webapis.authenticate.AuthenticationService.requestToken()</a>
<br>
<a href="authenticate/AccessTokenService.html#getAccessToken()" target="">com.netflix.webapis.authenticate.AccessTokenService.getAccessToken()</a>
</div>
</div>
<a name="userId"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">userId</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>userId:String</code>&nbsp;&nbsp;[read-write]<p>
   User id returned from the AccessToken Service.
   
   </p><p>Part of application wide storage.</p>
   <p>This property can be used as the source for data binding.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get userId():String</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set userId(value:String):void</code>
<br>
</div>
<a name="constructorDetail"></a>
<div class="detailSectionHeader">Constructor detail</div>
<a name="ServiceBase()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">ServiceBase</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">constructor</td>
</tr>
</table>
<div class="detailBody">
<code>public function ServiceBase(target:IEventDispatcher = null)</code><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">target</span>:IEventDispatcher</code> (default = <code>null</code>)<code></code></td>
</tr>
</table>
</div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">Method detail</div>
<a name="determineParams()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">determineParams</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
</tr>
</table>
<div class="detailBody">
<code>protected function determineParams(params:<a href="ParamsBase.html">ParamsBase</a> = null, type:String = null):<a href="../webapis/ParamsBase.html">ParamsBase</a></code><p>
   Handles requests and previous requests to determine current request. 
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">params</span>:<a href="ParamsBase.html">ParamsBase</a></code> (default = <code>null</code>)<code></code> &mdash; sent params.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">type</span>:String</code> (default = <code>null</code>)<code></code> &mdash; Requested type.
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../webapis/ParamsBase.html">ParamsBase</a></code></td>
</tr>
</table>
</div>
<a name="dispatchFault()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">dispatchFault</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected function dispatchFault(fault:<a href="ServiceFault.html">ServiceFault</a>):void</code><p>
   Dispatches Fault.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">fault</span>:<a href="ServiceFault.html">ServiceFault</a></code></td>
</tr>
</table>
</div>
<a name="dispatchResult()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">dispatchResult</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected function dispatchResult(result:Object, dispatchType:String):void</code><p>
   Dispatches the result. 
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">result</span>:Object</code> &mdash; formatted data
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">dispatchType</span>:String</code></td>
</tr>
</table>
</div>
<a name="formatAndDispatch()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">formatAndDispatch</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected function formatAndDispatch(returnedXML:XML, dispatchType:String):void</code><p>
   Formats the xml into typed objects and dispatches the final object in a result event.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">returnedXML</span>:XML</code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">dispatchType</span>:String</code></td>
</tr>
</table>
</div>
<a name="handleServiceLoading()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">handleServiceLoading</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected function handleServiceLoading(methodString:String, dispatchType:String, params:<a href="ParamsBase.html">ParamsBase</a> = null):void</code><p>
   Handlers the service loading and calls for the service. Constructs the query string and retrieves the 
   parameters based <code>params</code> and sends for the service. 
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">methodString</span>:String</code> &mdash; url to send to
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">dispatchType</span>:String</code> &mdash; what kind of result to dispatch
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">params</span>:<a href="ParamsBase.html">ParamsBase</a></code> (default = <code>null</code>)<code></code> &mdash; parameters of the query
   </td>
</tr>
</table>
</div>
<a name="send()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">send</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function send(parameters:<a href="ParamsBase.html">ParamsBase</a> = null):void</code><p>
   Sends off for service.
   
   This provides a way to use a standard method for services.
    
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">parameters</span>:<a href="ParamsBase.html">ParamsBase</a></code> (default = <code>null</code>)<code></code></td>
</tr>
</table>
</div>
<div class="detailSectionHeader">Event detail</div>
<a name="event:fault"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">fault</td><td class="detailHeaderType">event&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/NetflixFaultEvent.html"><code>com.netflix.webapis.events.NetflixFaultEvent</code></a>
<br>
<p></p><p>
 Fault Event.
 </p></div>
<a name="event:result"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">result</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/NetflixResultEvent.html"><code>com.netflix.webapis.events.NetflixResultEvent</code></a>
<br>
<p></p><p>
 Result Event.
 </p></div>
<a name="constantDetail"></a>
<div class="detailSectionHeader">Constant detail</div>
<a name="NETFLIX_BASE_URL"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">NETFLIX_BASE_URL</td><td class="detailHeaderType">constant</td>
</tr>
</table>
<div class="detailBody">
<code>public static const NETFLIX_BASE_URL:String = "http://api.netflix.com/"</code>
</div>
<a name="SIG_METHOD"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">SIG_METHOD</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const SIG_METHOD:IOAuthSignatureMethod</code>
</div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright">Copyright (c) 2009 Netflix-Flex_API Contributors. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</center>
</div>
</body>
</html>
<!--Copyright (c) 2009 Netflix-Flex_API Contributors. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.-->
